package org.example.message;

/**
 * @author weigang
 * @create 2022-10-21 16:22
 */

@FunctionalInterface
/*
* 声明函数式接口
* */
public interface AsyncQueueFunction {
    /**
     * 发送异步消息
     *
     * @throws Exception 异常
     */
    void sendMessage() throws Exception;
}
